import request from '@/utils/request'
// -------- 咨询类型 --------

let BASE_ADDRESS = 'work/consultType'

//  分页查询
export function getConsultTypeListApi(params) {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}

//  添加
export function getConsultTypeAddApi(data) {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: "post",
        data
    })
}

//  修改
export function getConsultTypeEditApi(data) {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: "put",
        data
    })
}